﻿using Data.DAO;
using www.Models;

namespace Data.BO
{
    public class CategoryValueBO //: BaseBO<CategoryDAO, RelaxCategory>
    {
        #region value
        private readonly CategoryValueDAO _category = new CategoryValueDAO();

        #endregion

        #region Ham Lay du lieu

        #endregion

        #region ham Add
        public void Add(CATEGORY_VALUE category)
        {
            _category.Add(category);
        }

        #endregion

        #region ham Update

        public bool Update(CATEGORY_VALUE category)
        {
            return _category.Update(category);
        }
        #endregion

        #region Delete

        public void Delete(long iId, long iLanguageCode)
        {
            _category.Delete(iId, iLanguageCode);
        }
        #endregion
    }
}
